翻訳と辞書
Words near each other
・ Server Pages
・ Server room
・ Server Routing Protocol
・ Server Side Includes
・ Server Somanna
・ Server sprawl
・ Server Sundaram
・ Server sunset
・ Server supported gaming
・ Server Technology
・ Server-based gaming
・ Server-based signatures
・ Server-Gated Cryptography
・ Server-sent events
・ Server-side
Server-side redirect
・ Server-side scripting
・ ServerCentral
・ Serverette
・ ServerNet
・ ServerNet (Tandem)
・ Serverpars
・ ServersCheck
・ Serverware Group
・ Serves-sur-Rhône
・ Servet
・ Servet A. Duran
・ Servet Coşkun
・ Servet Kocakaya
・ Servet Libohova


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Server-side redirect : ウィキペディア英語版
A server side redirect is a method of URL redirection using an HTTP status code (e.g., 301 Moved Permanently, 303 See Other and 307 Temporary Redirect) issued by a web server in response to a request for a particular URL. The result is to redirect user's web browser to another web page with a different URL.One method of implementing server-side redirects is the .htaccess file supported by most Apache web servers. An example of the code used is as follows. redirect 301 /index.html http://www.example.org/index.htmlCommon uses of server-side redirects include:*redirecting people away from a discontinued server*load balancing*redirecting to error pages if a discontinued URL is used*link use tracking, as done at the AltaVista search engine*spamdexing*ensuring old links and bookmarks still work when a page is renamed*allowing users to use an abbreviated URL in place of a longer (perhaps less memorable) one== Code ==PHP code for server-side redirect.header("Location: http://www.example.com/");ASP.NET code for server-side redirect.Response.AddHeader("Location: http://www.example.com/");Implementation in JavaServer Pages (JSP).response.setHeader("Location", "http://www.example.com/");

A server side redirect is a method of URL redirection using an HTTP status code (e.g., 301 Moved Permanently, 303 See Other and 307 Temporary Redirect) issued by a web server in response to a request for a particular URL. The result is to redirect user's web browser to another web page with a different URL.
One method of implementing server-side redirects is the .htaccess file supported by most Apache web servers. An example of the code used is as follows.
redirect 301 /index.html http://www.example.org/index.html
Common uses of server-side redirects include:
*redirecting people away from a discontinued server
*load balancing
*redirecting to error pages if a discontinued URL is used
*link use tracking, as done at the AltaVista search engine
*spamdexing
*ensuring old links and bookmarks still work when a page is renamed
*allowing users to use an abbreviated URL in place of a longer (perhaps less memorable) one
== Code ==
PHP code for server-side redirect.

header("Location: http://www.example.com/");

ASP.NET code for server-side redirect.

Response.AddHeader("Location: http://www.example.com/");

Implementation in JavaServer Pages (JSP).

response.setHeader("Location", "http://www.example.com/");


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「A server side redirect is a method of URL redirection using an HTTP status code (e.g., 301 Moved Permanently, 303 See Other and 307 Temporary Redirect) issued by a web server in response to a request for a particular URL. The result is to redirect user's web browser to another web page with a different URL.One method of implementing server-side redirects is the .htaccess file supported by most Apache web servers. An example of the code used is as follows. redirect 301 /index.html http://www.example.org/index.htmlCommon uses of server-side redirects include:*redirecting people away from a discontinued server*load balancing*redirecting to error pages if a discontinued URL is used*link use tracking, as done at the AltaVista search engine*spamdexing*ensuring old links and bookmarks still work when a page is renamed*allowing users to use an abbreviated URL in place of a longer (perhaps less memorable) one== Code ==PHP code for server-side redirect.header("Location: http://www.example.com/");ASP.NET code for server-side redirect.Response.AddHeader("Location: http://www.example.com/");Implementation in JavaServer Pages (JSP).response.setHeader("Location", "http://www.example.com/");」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.